package com.tarim.wheat.mapper;

import com.tarim.wheat.model.Type;
import com.tarim.wheat.vo.Criteria;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component("TypeMapper")
public interface TypeMapper {
    List<Type> selectAll();

    List<Type> selectByCondition(Type type);
}